package com.tjmntv.tj.myapplication.demo5

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.tjmntv.tj.myapplication.R

class KotlinDemo5 : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_kotlin_demo5)

        Intent(this, MyService05::class.java).also {
            startService(it)
        }
    }
}